package cn.elead.it.sso.system.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import com.gitee.elead.mybatisplus.mapper.BaseMapper;

import cn.elead.it.sso.system.model.Permission;
import cn.elead.it.sso.system.sql.PermissionSql;

/**
 * <p>
 * * 简单权限数据查询
 * </p>
 * 
 * @author luopeng
 *
 */
@Mapper
public interface IPermissionDao extends BaseMapper<Permission>{

	@SelectProvider(type = PermissionSql.class, method = "findById")
	public Permission findById(String id);

	@SelectProvider(type = PermissionSql.class, method = "updateDelById")
	public void updateDelById(String id);
}
